<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@page import="com.anhry.app.safety.util.Util"%>
<%@ include file="/WEB-INF/pages/share/taglib.jsp"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>企业信息查看</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link href="<%=basePath+Util.SKIN%>/css/right.css" type="text/css" rel="stylesheet">
	<script type="text/javascript" src="<%=basePath%>/js/jquery-1.7.2.js"></script>
	<script type="text/javascript">
	   	 	function forwardTo(method){
	   		if(method==1){
	   			document.form1.action="<%=basePath%>/enterprise/corp_look.action";
	   		}else if(method==2){
	   			document.form1.action="<%=basePath%>/enterprise/corp_picLook.action";
	   		}else if(method==4){
	   			document.form1.action="<%=basePath%>/enterprise/corp_corpPdStandard.action";
	   		}else if(method==5){
	   			document.form1.action="<%=basePath%>/enterprise/corp_corpZcStandard.action";
	   		}else{
	   			document.form1.action="<%=basePath%>/enterprise/corp_perLook.action";
	   		}
			document.form1.submit();
		}
	</script>
  </head>
  
  <body>
	<div  class="body-box">
		<div class="map">
			<div class="map_con">
				您当前的位置：企业分类管理 &gt; 企业信息管理 &gt; 企业图片查看
			</div>
		</div>
		<div id="container">
		<table border="0" cellpadding="0" cellspacing="0" class="mytable">
			<tr><td align="center"><font><b>${corp.corpName }</b></font></td></tr>
		</table>
		<div class="tab_div">
			<div class="tab"><a href="javascript:forwardTo(1);">企业信息查看</a></div>
			<div class="tab_on"><a href="javascript:forwardTo(2);">企业图片查看</a></div>
			<div class="tab"><a href="javascript:forwardTo(3);">企业人员查看</a></div>
			<div class="tab"><a href="javascript:forwardTo(4);">企业分级评定标准查看</a></div>
			<div class="tab"><a href="javascript:forwardTo(5);">企业自查自报标准查看</a></div>
			<div class="tab"><a href="<%=basePath%>/fjpd/bzh_look.action?objId=${djpdTabId}&corpId=${corp.id }" target="_blank">行业分级评定标准查看</a></div>
			<div class="tab"><a href="<%=basePath%>/zczb/bzh_look.action?objId=${zczbTabId}&corpId=${corp.id }" target="_blank">行业自查自报标准查看</a></div>
		</div>
		<div class="tab_con">
			<table border="0" cellpadding="0" cellspacing="0" class="mytable">
		   		<thead>
			    	<tr class="fixedHeaderTr">
			     		<th width="5%">序号</th>
			     		<th width="15%">图片</th>
			     		<th width="15%">类型</th>
			     		<th width="45%">标题</th>
			     		<th width="30%">备注</th>
			    	</tr>
		   		</thead>
			   	<tbody>
			   		<s:if test="%{objList.size>0}">
			   			<s:iterator value="objList" id="obj" status="x">
				   			<tr id="tr_${obj.id }">
					     		<td align="center">${x.index+1}</td>
					     		<td align="center"><a href="<%=filePath %>/${obj.picPath }" target="_blank" title="查看原图"><img src="<%=filePath %>/${obj.picPath }" border="0" width="80" height="80"></a></td>
					     		<td align="center">
						     		<s:if test="%{#obj.picType==1}">企业风貌图</s:if>
					    			<s:if test="%{#obj.picType==2}">企业平面图</s:if>
					    			<s:if test="%{#obj.picType==3}">工艺流程图</s:if>
					    			<s:if test="%{#obj.picType==4}">其他</s:if>
					     		</td>
					     		<td align="left">${obj.picTitle }</td>
					     		<td align="left">${obj.picRemark }</td>
					    	</tr>
			   			</s:iterator>
			    	</s:if>
			    	<s:else>
				    	<tr>
				     		<td align="center" colspan="5">暂无数据</td>
				    	</tr>
			    	</s:else>
			   	</tbody>
		  	</table>
		</div>
	 	</div>
	</div>
	<form action="<%=basePath %>/enterprise/corp_look.action" name="form1" method="post">
		<input type="hidden" name="corpId" value="${corpId }">
		<input type="hidden" name="djpdTabId" value="${djpdTabId}">
		<input type="hidden" name="zczbTabId" value="${zczbTabId}">
		<input type="hidden" name="urls" value="${urls }">
		<input type="hidden" name="num" value="${page.num }">
		<input type="hidden" name="size" value="${page.size }">
	</form>
  </body>
  <s:if test="%{tip!=null}">
    	<script>
    		alert('${tip}');
    	</script>
    </s:if>
</html>
